<%@ tag isELIgnored="false" %>
<%@taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<%@ attribute name="beanclass" description="Stripes Bean Class" required="true" rtexprvalue="true" %>
<%@ attribute name="event" description="Stripes Event Name" rtexprvalue="true" %>
<c:choose>
	<c:when test="${event}">
		<s:url beanclass="${beanclass}" event="${event}"
			   prependContext="false" var="beanclassUrl"/>
	</c:when>
	<c:otherwise>
		<s:url beanclass="${beanclass}" prependContext="false" var="beanclassUrl" />
	</c:otherwise>
</c:choose>
<jsp:forward page="${beanclassUrl}"/>